class BeanContractChangeList {
  List<BeanContractChange> list;

  BeanContractChangeList({this.list});

  factory BeanContractChangeList.fromJson(List<dynamic> listJson) {
    List<BeanContractChange> list =
        listJson.map((value) => BeanContractChange.fromJson(value)).toList();

    return BeanContractChangeList(list: list);
  }
}

class BeanContractChange {
  String title;
  String iconUrl;
  String backgroundUrl;
  String url;

  BeanContractChange({this.title, this.iconUrl, this.backgroundUrl, this.url});

  BeanContractChange.fromJson(Map<String, dynamic> json) {
    this.title = json['title'];
    this.iconUrl = json['iconUrl'];
    this.backgroundUrl = json['backgroundUrl'];
    this.url = json['url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['iconUrl'] = this.iconUrl;
    data['backgroundUrl'] = this.backgroundUrl;
    data['url'] = this.url;
    return data;
  }
}
